#ifndef MHELICALFORM_H
#define MHELICALFORM_H

#include <QWidget>
#include<QMessageBox>

namespace Ui {
class MHelicalForm;
}

class MHelicalForm : public QWidget
{
    Q_OBJECT

public:
    explicit MHelicalForm(QWidget *parent = nullptr);
    ~MHelicalForm();


private slots:
    void on_Button_start_clicked();
    void on_PushButton_stop_clicked();
    void on_PushButton_cleanpos_clicked();
    void updateWin();
    void showWarn(QString message);

protected:
    void showEvent(QShowEvent *events) override;

private:
    Ui::MHelicalForm *ui;
    int axislist[5]={0,1,2,3,4};
    bool runflage=false;
    QMessageBox::StandardButton warn;
};

#endif // MHELICALFORM_H
